<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%@ page import="java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Simple MVC Result</title>
</head>
<%
	Iterator<String> list = ((ArrayList<String>)request.getAttribute("list")).iterator();
%>

<body>
<center>
	<h1>Beer Select Result</h1>
	<hr>
	<%
		while(list.hasNext()) {
			%>
			<h3><%=list.next()%></h3>
			<%
		}
	%>
	<hr>
	<h3><a href="/index.jsp">Home</a></h3>
</center>
</body>
</html>